package cn.macswelle.campusecurity.raspberry1.service;

import cn.macswelle.campusecurity.sdk.DeviceInfo;
import cn.macswelle.campusecurity.sdk.service.AmqpService;
import cn.macswelle.campusecurity.sdk.service.DeviceThread;
import com.pi4j.io.gpio.GpioController;
import com.pi4j.io.gpio.GpioFactory;
import org.springframework.beans.factory.annotation.Autowired;

public abstract class Pi4jUtil extends DeviceThread {
  @Autowired
  protected GpioController gpio = GpioFactory.getInstance();
  @Autowired
  protected AmqpService amqpService;
  @Autowired
  protected DeviceInfo deviceInfo;
}
